import express from 'express'
import cors from 'cors'
import stsRouter from './sts'
import cosRouter from './cos'

const app = express()
const port = 9000

app.use(cors())
app.use(stsRouter)
app.use(cosRouter)

app.listen(port, () => {
  console.log('app listening at http://localhost:' + port)
})
